package com.hkts.beltweigher.salve.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.time.LocalTime;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author hml
 * @since 2024-07-04
 */
public class WestBeltscalesInstantaneousdata extends Model<WestBeltscalesInstantaneousdata> {

    private static final long serialVersionUID = 1L;

    /**
     * 自增id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 日期+时间
     */
    private LocalDateTime datetime;
    /**
     * 日期
     */
    private LocalDate date;
    /**
     * 时间
     */
    private LocalTime time;
    /**
     * 毫秒
     */
    private Integer ms;
    /**
     * 西线1号秤瞬时流量,t/h
     */
    private Float instantaneousTraffic1;
    /**
     * 西线2号秤瞬时流量
     */
    private Float instantaneousTraffic2;
    /**
     * 西线3号秤瞬时流量
     */
    private Float instantaneousTraffic3;
    /**
     * 西线4号秤瞬时流量
     */
    private Float instantaneousTraffic4;
    /**
     * 西线5号秤瞬时流量
     */
    private Float instantaneousTraffic5;
    /**
     * 西线1号秤累计流量,t
     */
    private Float cumulativeFlow1;
    /**
     * 西线2号秤累计流量
     */
    private Float cumulativeFlow2;
    /**
     * 西线3号秤累计流量
     */
    private Float cumulativeFlow3;
    /**
     * 西线4号秤累计流量
     */
    private Float cumulativeFlow4;
    /**
     * 西线5号秤累计流量
     */
    private Float cumulativeFlow5;
    /**
     * 西线1号秤速度, m/s
     */
    private Float speed1;
    /**
     * 西线2号秤速度
     */
    private Float speed2;
    /**
     * 西线3号秤速度
     */
    private Float speed3;
    /**
     * 西线4号秤速度
     */
    private Float speed4;
    /**
     * 西线5号秤速度
     */
    private Float speed5;
    /**
     * 西线1号称运行：1运行，0停止
     */
    private Boolean beltRun1;
    /**
     * 西线2号称运行：1运行，0停止
     */
    private Boolean beltRun2;
    /**
     * 西线3号称运行：1运行，0停止
     */
    private Boolean beltRun3;
    /**
     * 西线4号称运行：1运行，0停止
     */
    private Boolean beltRun4;
    /**
     * 西线5号称运行：1运行，0停止
     */
    private Boolean beltRun5;
    /**
     * 西线1号称设定
     */
    private Float setValue1;
    /**
     * 西线2号称设定
     */
    private Float setValue2;
    /**
     * 西线3号称设定
     */
    private Float setValue3;
    /**
     * 西线4号称设定
     */
    private Float setValue4;
    /**
     * 西线5号称设定
     */
    private Float setValue5;
    /**
     * 西线1号秤小时累计流量
     */
    private Float hourFlow1;
    /**
     * 西线1号秤小时累计流量
     */
    private Float hourFlow2;
    /**
     * 西线1号秤小时累计流量
     */
    private Float hourFlow3;
    /**
     * 西线1号秤小时累计流量
     */
    private Float hourFlow4;
    /**
     * 西线1号秤小时累计流量
     */
    private Float hourFlow5;

    public Float getHourFlow1() {
        return hourFlow1;
    }

    public void setHourFlow1(Float hourFlow1) {
        this.hourFlow1 = hourFlow1;
    }

    public Float getHourFlow2() {
        return hourFlow2;
    }

    public void setHourFlow2(Float hourFlow2) {
        this.hourFlow2 = hourFlow2;
    }

    public Float getHourFlow3() {
        return hourFlow3;
    }

    public void setHourFlow3(Float hourFlow3) {
        this.hourFlow3 = hourFlow3;
    }

    public Float getHourFlow4() {
        return hourFlow4;
    }

    public void setHourFlow4(Float hourFlow4) {
        this.hourFlow4 = hourFlow4;
    }

    public Float getHourFlow5() {
        return hourFlow5;
    }

    public void setHourFlow5(Float hourFlow5) {
        this.hourFlow5 = hourFlow5;
    }

    public Float getSetValue1() {
        return setValue1;
    }

    public void setSetValue1(Float setValue1) {
        this.setValue1 = setValue1;
    }

    public Float getSetValue2() {
        return setValue2;
    }

    public void setSetValue2(Float setValue2) {
        this.setValue2 = setValue2;
    }

    public Float getSetValue3() {
        return setValue3;
    }

    public void setSetValue3(Float setValue3) {
        this.setValue3 = setValue3;
    }

    public Float getSetValue4() {
        return setValue4;
    }

    public void setSetValue4(Float setValue4) {
        this.setValue4 = setValue4;
    }

    public Float getSetValue5() {
        return setValue5;
    }

    public void setSetValue5(Float setValue5) {
        this.setValue5 = setValue5;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public LocalDateTime getDatetime() {
        return datetime;
    }

    public void setDatetime(LocalDateTime datetime) {
        this.datetime = datetime;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public LocalTime getTime() {
        return time;
    }

    public void setTime(LocalTime time) {
        this.time = time;
    }

    public Integer getMs() {
        return ms;
    }

    public void setMs(Integer ms) {
        this.ms = ms;
    }

    public Float getInstantaneousTraffic1() {
        return instantaneousTraffic1;
    }

    public void setInstantaneousTraffic1(Float instantaneousTraffic1) {
        this.instantaneousTraffic1 = instantaneousTraffic1;
    }

    public Float getInstantaneousTraffic2() {
        return instantaneousTraffic2;
    }

    public void setInstantaneousTraffic2(Float instantaneousTraffic2) {
        this.instantaneousTraffic2 = instantaneousTraffic2;
    }

    public Float getInstantaneousTraffic3() {
        return instantaneousTraffic3;
    }

    public void setInstantaneousTraffic3(Float instantaneousTraffic3) {
        this.instantaneousTraffic3 = instantaneousTraffic3;
    }

    public Float getInstantaneousTraffic4() {
        return instantaneousTraffic4;
    }

    public void setInstantaneousTraffic4(Float instantaneousTraffic4) {
        this.instantaneousTraffic4 = instantaneousTraffic4;
    }

    public Float getInstantaneousTraffic5() {
        return instantaneousTraffic5;
    }

    public void setInstantaneousTraffic5(Float instantaneousTraffic5) {
        this.instantaneousTraffic5 = instantaneousTraffic5;
    }

    public Float getCumulativeFlow1() {
        return cumulativeFlow1;
    }

    public void setCumulativeFlow1(Float cumulativeFlow1) {
        this.cumulativeFlow1 = cumulativeFlow1;
    }

    public Float getCumulativeFlow2() {
        return cumulativeFlow2;
    }

    public void setCumulativeFlow2(Float cumulativeFlow2) {
        this.cumulativeFlow2 = cumulativeFlow2;
    }

    public Float getCumulativeFlow3() {
        return cumulativeFlow3;
    }

    public void setCumulativeFlow3(Float cumulativeFlow3) {
        this.cumulativeFlow3 = cumulativeFlow3;
    }

    public Float getCumulativeFlow4() {
        return cumulativeFlow4;
    }

    public void setCumulativeFlow4(Float cumulativeFlow4) {
        this.cumulativeFlow4 = cumulativeFlow4;
    }

    public Float getCumulativeFlow5() {
        return cumulativeFlow5;
    }

    public void setCumulativeFlow5(Float cumulativeFlow5) {
        this.cumulativeFlow5 = cumulativeFlow5;
    }

    public Float getSpeed1() {
        return speed1;
    }

    public void setSpeed1(Float speed1) {
        this.speed1 = speed1;
    }

    public Float getSpeed2() {
        return speed2;
    }

    public void setSpeed2(Float speed2) {
        this.speed2 = speed2;
    }

    public Float getSpeed3() {
        return speed3;
    }

    public void setSpeed3(Float speed3) {
        this.speed3 = speed3;
    }

    public Float getSpeed4() {
        return speed4;
    }

    public void setSpeed4(Float speed4) {
        this.speed4 = speed4;
    }

    public Float getSpeed5() {
        return speed5;
    }

    public void setSpeed5(Float speed5) {
        this.speed5 = speed5;
    }

    public Boolean getBeltRun1() {
        return beltRun1;
    }

    public void setBeltRun1(Boolean beltRun1) {
        this.beltRun1 = beltRun1;
    }

    public Boolean getBeltRun2() {
        return beltRun2;
    }

    public void setBeltRun2(Boolean beltRun2) {
        this.beltRun2 = beltRun2;
    }

    public Boolean getBeltRun3() {
        return beltRun3;
    }

    public void setBeltRun3(Boolean beltRun3) {
        this.beltRun3 = beltRun3;
    }

    public Boolean getBeltRun4() {
        return beltRun4;
    }

    public void setBeltRun4(Boolean beltRun4) {
        this.beltRun4 = beltRun4;
    }

    public Boolean getBeltRun5() {
        return beltRun5;
    }

    public void setBeltRun5(Boolean beltRun5) {
        this.beltRun5 = beltRun5;
    }

    public static final String ID = "id";

    public static final String DATETIME = "datetime";

    public static final String DATE = "date";

    public static final String TIME = "time";

    public static final String MS = "ms";

    public static final String INSTANTANEOUS_TRAFFIC1 = "instantaneous_traffic1";

    public static final String INSTANTANEOUS_TRAFFIC2 = "instantaneous_traffic2";

    public static final String INSTANTANEOUS_TRAFFIC3 = "instantaneous_traffic3";

    public static final String INSTANTANEOUS_TRAFFIC4 = "instantaneous_traffic4";

    public static final String INSTANTANEOUS_TRAFFIC5 = "instantaneous_traffic5";

    public static final String CUMULATIVE_FLOW1 = "cumulative_flow1";

    public static final String CUMULATIVE_FLOW2 = "cumulative_flow2";

    public static final String CUMULATIVE_FLOW3 = "cumulative_flow3";

    public static final String CUMULATIVE_FLOW4 = "cumulative_flow4";

    public static final String CUMULATIVE_FLOW5 = "cumulative_flow5";

    public static final String SPEED1 = "speed1";

    public static final String SPEED2 = "speed2";

    public static final String SPEED3 = "speed3";

    public static final String SPEED4 = "speed4";

    public static final String SPEED5 = "speed5";

    public static final String BELT_RUN1 = "belt_run1";

    public static final String BELT_RUN2 = "belt_run2";

    public static final String BELT_RUN3 = "belt_run3";

    public static final String BELT_RUN4 = "belt_run4";

    public static final String BELT_RUN5 = "belt_run5";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "WestBeltscalesInstantaneousdata{" +
                ", id=" + id +
                ", datetime=" + datetime +
                ", date=" + date +
                ", time=" + time +
                ", ms=" + ms +
                ", instantaneousTraffic1=" + instantaneousTraffic1 +
                ", instantaneousTraffic2=" + instantaneousTraffic2 +
                ", instantaneousTraffic3=" + instantaneousTraffic3 +
                ", instantaneousTraffic4=" + instantaneousTraffic4 +
                ", instantaneousTraffic5=" + instantaneousTraffic5 +
                ", cumulativeFlow1=" + cumulativeFlow1 +
                ", cumulativeFlow2=" + cumulativeFlow2 +
                ", cumulativeFlow3=" + cumulativeFlow3 +
                ", cumulativeFlow4=" + cumulativeFlow4 +
                ", cumulativeFlow5=" + cumulativeFlow5 +
                ", speed1=" + speed1 +
                ", speed2=" + speed2 +
                ", speed3=" + speed3 +
                ", speed4=" + speed4 +
                ", speed5=" + speed5 +
                ", beltRun1=" + beltRun1 +
                ", beltRun2=" + beltRun2 +
                ", beltRun3=" + beltRun3 +
                ", beltRun4=" + beltRun4 +
                ", beltRun5=" + beltRun5 +
                "}";
    }
}
